package wsi.gui.resolve.model;

import org.rygh.gui.comp.TableData;
import org.rygh.semantic.model.rdf.Entity;

public class MatchInfoData extends TableData<MatchInfoTuple> {

	private Entity entity;
	private double probability;

	public MatchInfoData() {
		init();
	}

	public Entity getEntity() {
		return entity;
	}

	public double getProbability() {
		return probability;
	}

	private void init() {
		addColumn("XPath Func", "xpathFunctionality", 100);
		addColumn("XPath", "xpath", 200);
		addColumn("Value in XML", "valueInXml", 100);
		addColumn("Value in RDF", "valueInRdf", 100);
		addColumn("Predicate Path", "predicatePath", 200);
		addColumn("PPath Func", "predicatePathFunctionality", 100);
	}

	public void setEntity(Entity entity) {
		this.entity = entity;
	}

	public void setProbability(double probability) {
		this.probability = probability;
	}
}
